<#import "macros/common.ftl" as common>

<@common.page>
<div style="padding:4em;padding-bottom:10em;width:20em;margin:0 auto;">
    <table>
        <caption style="font-size: 125%;text-align:center;padding:0.25em;">{{Login Form}}</caption>

        <form action="" method="post">
            <input type="hidden" name="action" value="enter">
            <tr>
                <td class="form-field-name">
                    {{Email}}:
                </td>
                <td>
                    <input class="textbox" name="email" value="${email!}">
                </td>
            </tr>
            <@common.errorField field = error__email/>

            <tr>
                <td class="form-field-name">
                    {{Password}}:
                </td>
                <td>
                    <input class="textbox" type="password" name="password">
                </td>
            </tr>
            <@common.errorField field = error__password/>

            <tr>
                <td colspan="2" style="text-align:center;">
                    <input class="button" type="submit" value="{{Enter}}">
                </td>
            </tr>
        </form>
    </table>
</div>
</@common.page>
